package cn.hy.dataSync.statistics.container.report;


import cn.hy.dataSync.statistics.communication.Communication;

/**
 * 状态汇报接口
 */
public abstract class AbstractReporter {
    /**
     * job 状态汇报
     *
     * @param jobId         job ID
     * @param communication 汇报器
     */
    public abstract void reportJobCommunication(String jobId, Communication communication);

    /**
     * 任务状态汇报
     *
     * @param taskId        任务 ID
     * @param communication 汇报器
     */
    public abstract void reportTaskCommunication(Integer taskId, Communication communication);
}
